from shapes import*

world = TurtleWorld()
steve = Turtle()
steve.color = "blue"
steve.delay = .01 

move(steve, 0, -550)

def house(t, size=10):
    rect(t, size*8, size*6)
    move(t, size*-1, size*6)
    equilateral_tri(t, size*10)
    move(t, size*10, 0)
    para(t, size*9, size*10, 60)
    move(t, size*-6, size*-4)
    window(t, size)
    move(t, size*6, size*0) 
    window(t, size)
    move(t, size*6, size*0)
    window(t,size)
    move(t, size*3, size*0)
    steve.rt(90)
    line(steve, 100, 0)
    line(steve, -300, 0)
    line(steve, 300, 0)
    steve.rt(90)
    line(steve, 500, 0)
    line(steve, -200, 0)
    steve.rt(90)
    line(steve, 150, 0)
    steve.rt(90)
    line(steve, 80, 0)
    steve.rt(90)
    line(steve, 150, 0)
def window(t, size):
    move(t, size, size)
    for i in range (4):
        square(t, size)
        t.rt()
    move(t, -size, -size)
    

    
#move(steve, 550,-600)
house (steve, 50)


wait_for_user()